package com.xiubai.appforpda.entity;

/**
 * @author: r3562939
 * @version: V1.0
 * @project: AppForPda
 * @description: 组织架构类
 * @date: 2018/11/18
 * @time: 15:16
 */
public class SQLOrgStructureBean {
    // 部门编码
    public String deptcode;
    // 部门名称
    public String deptname;
    // 上级部门编码
    public String fdeptcode;


    @Override
    public boolean equals(Object obj) {
        if (obj instanceof SQLOrgStructureBean) {
            SQLOrgStructureBean bean = (SQLOrgStructureBean) obj;
            return deptcode.equalsIgnoreCase(bean.deptcode);
        }
        return false;
    }
}
